<script>
	function checkForm()
	{
		if(document.f.title.value=="")
		{
			alert('Vui lòng điền `Tiêu đề`!');
			document.f.name.focus();
			return false;
		}
	}
</script>
<form name="f" method="POST" onsubmit="return checkForm();" enctype="multipart/form-data">
	<input type="hidden" name="act" value="actionInsert"></input>
	<table class="tbl_action">			
		<tr>
			<th>Tiêu đề <span style='color:#FF0000'>(*)</span></th>
			<td><input type="text" name='title'></input></td>
		</tr>
		<tr>
			<th>Nội dung</th>
			<td><textarea name='detail'></textarea></td>
		</tr>
		<tr>
			<th>Hình ảnh</th>
			<td><input type="file" name='image'></input></td>
		</tr>
		<tr>
			<th></th>
			<th align="left">
				<input type="submit" value="Thêm"></input><input type="reset" value="Mặc định"></input><input type="button" value="Đóng" onclick="window.location='?zone=news'"></input>&nbsp;&nbsp;&nbsp;&nbsp;<span style='color:#FF0000;'>(*)</span> Thông tin bắt buộc
			</th>
		</tr>
	</table>
</form>
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
	var oFCKeditor = new FCKeditor('detail');
	oFCKeditor.Height	= "400";
	oFCKeditor.Width	= "650";
	oFCKeditor.ReplaceTextarea();
</script>